{include 'header.tpl'}

<div class="contant">

    <div class="header">
        <div class="header_s">
            <span class="back" onclick="window.location.href = '/index/getLocation';"><i class="iconfont locationes"></i>当前</span>
            <span class="title">{$_F['info']['sematic']}附近</span>
            <span class="add_ads"></span>
            <div class="clear"></div>
        </div>
    </div>

    <div class="goods">
        {foreach from=$banner_list item=item name=foo}
            <div class="mall_bt_banners">
                <div class="mall_bt_banner"><a href="/index/goodDetail?id={$item.auto_id}"><img src="{$item.img3}"/></a></div>
                <div class="mall_bt_over"><span class="bt_over_tlt">{$item.title}</span><span class="bt_over_jg">已售:<em>{$item.cs_num}</em>份</span></div>
                <div c="mall_bt_tltes">
                    <div class="mall_bt_over">
                        <span class="bt_over_tlt"><em>￥{Service_Goods::moneyReZero($item.price_new)}</em><i>/份</i></span>
                        <span class="bt_over_jg">
                            <div class="add_gou" data-count="{$item.productList|count}" data-cover="{$item.img2}"
                                 data-cs_num="{$item.cs_num}" data-pid="{$item.pid}" data-title="{{$item.title}}" data-product='{$item.productList|json_encode}'>+</div></span>
                    </div>
                </div>
            </div>
        {/foreach}

        <div class="mall_bt_banners">
            <div class="mall_prd">
                <ul>
                    {foreach from=$good_list item=item name=foo}
                        <li>
                            <div class="mall_prd_pic"><a  href="/index/goodDetail?id={$item.auto_id}"><img src="{$item.img2}"/></a></div>
                            <div class="mall_prd_tlt"><a  href="/index/goodDetail?id={$item.auto_id}">{$item.title}</a></div>
                            <div class="mall_pro_yj">
                                <span class="pro_rs"><em>￥{Service_Goods::moneyReZero($item.price_new)}</em> <i>/份</i></span>
                                <span class="pro_yj">
                                    <div class="add_gou" data-count="{$item.productList|count}" data-cover="{$item.img2}"
                                         data-cs_num="{$item.cs_num}" data-pid="{$item.pid}" data-title="{{$item.title}}" data-product='{$item.productList|json_encode}'>+</div>
                                </span>
                            </div>
                        </li>
                    {/foreach}
                </ul>
            </div>
        </div>
    </div>

    <div class="fixed_btom">
        <div class="fixed_btoms">
            <div class="fixed_cart_lf"onClick="$('#cartOne').show()">
                <span><a class="fix_rg_gw"><img src="/mall/images/3_2.png"/><div class="shot_n_i3">{$cart_list_count}</div></a></span>
                <div class="cart_jse"><div class="cart_jgb_t">赶紧加入购物车</div></div>
            </div>
            <div class="fixed_cart_rg">
                {if $cart_list_price >= 35}
                    <a href="/order/submit" class="fix_rg_dg_ok">结算</a>
                {else}
                    <a href="javascript:;" class="fix_rg_dg">还差{$cart_list_price_sx}元起送</a>
                {/if}
            </div>
        </div>
    </div>
</div>
{include 'cart.tpl'}

{include 'tan.tpl'}

{include 'footer.tpl'}
